//
//  NetworkPayCell.m
//  Hxcsfw
//
//  Created by 企友软mac on 2018/2/28.
//  Copyright © 2018年 企友软mac. All rights reserved.
//

#import "NetworkPayCell.h"

@interface NetworkPayCell()

@property (weak, nonatomic) IBOutlet UIView *bgView;

@end

@implementation NetworkPayCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _bgView.layer.masksToBounds = YES;
    _bgView.layer.cornerRadius = 10;

    _btnAdd.layer.masksToBounds = YES;
    _btnAdd.layer.cornerRadius = 5;
    _btnAdd.layer.borderWidth = 1;
    _btnAdd.layer.borderColor = WRGBColor(255, 211, 29).CGColor;

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

- (IBAction)btnAddPayClick:(UIButton *)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(delegatBtnClick:)]){
        [self.delegate delegatBtnClick:sender];
    }
}

@end
